package com.kd.kdaicodemother.controller;

import com.kd.kdaicodemother.common.BaseResponse;
import com.kd.kdaicodemother.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthController {
    @GetMapping("/ping")
    public BaseResponse<String> ping(){
        return ResultUtils.success("pong");
    }

}
